package com.hazardSoft.eStore.interfaces;

import java.util.List;

import javax.ejb.Local;

import com.hazardSoft.eStore.common.exception.SystemException;
import com.hazardSoft.eStore.entities.Bill;
import com.hazardSoft.eStore.entities.Sale;

public @Local interface ShoppingCarLocal {
	public void addProduct(Sale sale) throws SystemException;
	public void removeProduct(Sale sale) throws SystemException;
	public void setProducts(List<Sale> sales) throws SystemException;
	public List<Sale> listProducts() throws SystemException;
	public Bill buyProducts(Bill bill) throws SystemException;
}
